<div class="properties-rows">
	<div class="filter">
		<form action="?" method="get" class="form-horizontal">
			<div class="row-fluid">
				<div class="span8"><span
					class="btn btn-primary btn-large list-your-property arrow-right"><?php echo $total_count .' Properties Listing Found'; ?></span>
				</div>
				<div class="span4">
					<div class="pull-right">
						<ul class="nav nav-pills">
                        	<li><a href="<?php echo $listing_rows; ?>"> <img src="<?php echo base_url(); ?>assets/img/view_list.png" alt="Listing Rows"> </a></li>
                           	<li><a href="<?php echo $listing_grid; ?>"> <img src="<?php echo base_url(); ?>assets/img/view_thumb.png" alt="Listing Grid"> </a></li>
                       	</ul>
					</div>
				</div>
			</div>
			<div class="row-fluid">
				<div class="span4">
					<div class="row-fluid">
						<div class="span3"><label class="control-label" for="inputSortBy"> Sort
							by </label></div>
						<div class="span7">
							<select name="sortby"
								onchange="location = this.value;" class="dd dropbox dropdownlist span12"
								id="sortby_">
								<?php foreach ($sorts as $sorts) { ?>
								<?php if ($sorts['value'] == $sort) { ?>
								<option value="<?php echo $sorts['href']; ?>" selected="selected"><?php echo $sorts['text']; ?></option>
								<?php } else { ?>
								<option value="<?php echo $sorts['href']; ?>"><?php echo $sorts['text']; ?></option>
								<?php } ?>
								<?php } ?>
							</select>
						</div>
					</div>
				</div>
				<div class="span3">
					<div class="row-fluid">
						<div class="span3"><label class="control-label-Show"
							for="inputShow"> Show </label></div>
						<div class="span4"><select onchange="location = this.value;"
							class="selectShow span12">
							<?php foreach ($limits as $item) { ?>
							<?php if ($item['value'] == $limit) { ?>
							<option value="<?php echo $item['href']; ?>" selected="selected"><?php echo $item['text']; ?></option>
							<?php } else { ?>
							<option value="<?php echo $item['href']; ?>"><?php echo $item['text']; ?></option>
							<?php } ?>
							<?php } ?>
						</select></div>
							<div class="span5">
							<label class="control-label-Show">per page</label>
							</div>
					</div>
				</div>
			</div>
		</form>
	</div>
<!-- /.filter -->
</div>
<!-- /.properties-rows -->
